Constructor & Destructor Documentation
| __construct |
( |
$ |
name, |
|
|
$ |
permissions = null |
|
) |
| |
Member Function Documentation
checks whether the container can be applied to given name
- Parameters:
-
- Returns:
- bool
Reimplemented from vfsStreamAbstractContent.
checks whether pointer is at end of file
- Returns:
- bool
returns the current position within the file
- Returns:
- int
returns the contents of the file
- Returns:
- string
| getDefaultPermissions |
( |
) |
[protected] |
returns default permissions for concrete implementation
- Returns:
- int
- Since:
- 0.8.0
Reimplemented from vfsStreamAbstractContent.
reads the given amount of bytes from content
- Parameters:
-
- Returns:
- string
returns the content until its end from current offset
- Returns:
- string
| seek |
( |
$ |
offset, |
|
|
$ |
whence |
|
) |
| |
seeks to the given offset
- Parameters:
-
- Returns:
- bool
| withContent |
( |
$ |
content ) |
|
sets the contents of the file
Setting content with this method does not change the time when the file was last modified.
- Parameters:
-
- Returns:
- vfsStreamFile
- See also:
- setContent()
writes an amount of data
Using this method changes the time when the file was last modified.
- Parameters:
-
- Returns:
- amount of written bytes
The documentation for this class was generated from the following file:
- /Applications/XAMPP/xamppfiles/lib/php/pear/vfsStream/vfsStreamFile.php